using Common.Communal;
using MediatR;
using System;

namespace Product.API.Write.Applications.Commands.ProductProcess
{
    /// <summary>
    /// 产品工艺创建命令
    /// </summary>
    public class CreateProductProcessCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 产品工艺编号（GUID）
        /// </summary>
        public Guid ProductProcessNumber { get; set; } = Guid.NewGuid();

        /// <summary>
        /// 工艺路线编号
        /// </summary>
        public Guid? ProcessRouteNumber { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public Guid? ProductNumber { get; set; }
    }
}


